<div layout="column">
  <div layout="row">
    <md-toolbar>
      <div class="md-toolbar-tools">
        <md-button ng-click="toggleList()" hide-gt-sm aria-label="list">
          <md-icon class="material-icons">menu</md-icon>
        </md-button>
        {{classname}}
      </div>
    </md-toolbar>
  </div>
  <div layout-gt-sm="row" layout-sm="column">
    <div>
      <md-sidenav md-component-id="left" md-is-locked-open="$mdMedia('gt-sm')">
        <md-toolbar class="md-hue-2">
          <h1 class="md-toolbar-tools">欢迎{{username}}</h1>
        </md-toolbar>
        <md-list ng-repeat="it in items">
          <md-list-item ui-sref={{it.sref}} ng-click="toggleList()">
            <h1 class="md-title">
              <md-icon class="material-icons">{{it.icon}}</md-icon>
              <span>{{it.content}}</span>
            </h1>
          </md-list-item>
        </md-list>
      </md-sidenav>
    </div>
    <div ui-view></div>
  </div>
  <div layout="row" layout-align="center">
    <p>全部内容都由王亦凡一人制作 有问题请找他</p>
  </div>
</div>